/**
 * Created by yhg97p on 2016/9/26.
 */
require.config({
    paths: {
        'app': 'app',
        'angular': '../vendor/angular/angular',
        'router': '../vendor/angular/angular-ui-router/angular-ui-router',
        'cookies': '../vendor/angular/angular-cookies/angular-cookies',
        'sanitize': '../bower_components/angular-sanitize/angular-sanitize.min',
        'bootstrap': '../vendor/angular/angular-bootstrap/ui-bootstrap-tpls',
        'oclazyload': '../vendor/angular/oclazyload/ocLazyLoad',
        'jquery':'jquery-3.1.0.min',
        'scrollbars':'../bower_components/scrollbars/jquery.scrollbar-gh-pages/jquery.scrollbar',
        'toImages':'../bower_components/toimages/html2canvas.min'
    },
    shim: {
        'angular': {
            exports: 'angular'
        },
        'jquery':{
            exports:'jquery'
        },
        'router': {
            deps: ['angular']
        },
        'app': {
            deps: ['router']
        },
        'sanitize': {
            deps: [
                'angular',
                'bower_components/videogular/videogular.js',
                'bower_components/videogular-controls/vg-controls.js',
                'bower_components/videogular-overlay-play/vg-overlay-play.js',
                'bower_components/videogular-poster/vg-poster.js',
                'bower_components/videogular-buffering/vg-buffering.js'
            ]
        },
        'scrollbars':{
            deps:[
                'bower_components/scrollbars/jquery.scrollbar-gh-pages/includes/prettify/prettify.js'
            ]
        }
    },
    urlArgs:'v=1-1-1'
});
// 初始化myModule模块
require(['app'], function () {
    angular.bootstrap(document, ['qiyepeixun'])

});